package com.cz.zslu.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 荣誉资质和店铺进行关联
 * </p>
 *
 * @author Bruce
 * @since 2019-05-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("honor_book")
public class HonorBook extends SuperEntity<HonorBook> {

    private static final long serialVersionUID = 1L;

    /**
     * 是否删除 0：有效，1 删除
     */
    @JSONField(serialize = false)
    @TableLogic
    @JsonIgnore
    private Integer state = 0;


    /**
     * 名称
     */
    @ApiModelProperty("name")
    private String name;

    /**
     * 荣誉资质以图片的形式存在
     */
    @ApiModelProperty("honor_pic")
    private String honorPic;


    /**
     * 店铺id
     */
    @ApiModelProperty("店铺id")
    @TableField("store_id")
    private Long storeId;



}
